package com.itheima.service.db;

import com.itheima.domain.db.Notification;

public interface NotificationService {

    // 根据userId查询推送通知
    Notification findByUserId(Long userId);

    // 保存
    void save(Notification notification);

    // 修改
    void update(Notification notification);
}